package com.ruoyi.coupons.service;

import com.ruoyi.coupons.domain.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author a'su's
* @description 针对表【coupon(优惠券表)】的数据库操作Service
* @createDate 2025-03-18 11:06:04
*/
public interface CouponService extends IService<Coupon> {

    public int getLimit(int couponId);
    public int decreaseStock(int couponId);
    public int getStock(int couponId);
}
